﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="admin_search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .title
        {    margin-top:10px;
            font-size:14px;
         }
        .content
        {   
            margin-top:2px;
            font-size:12px;
         }
         .highlight
         {
             color:Red;
             }
    </style>
    
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center;">
    
        <asp:Button ID="Btn_Create" runat="server" onclick="Btn_Create_Click" 
            Text="创建索引" />
    
        <asp:TextBox ID="Txt_Key" runat="server" Width="300px"></asp:TextBox>
    
        <asp:Button ID="Btn_Search" runat="server" Text="搜索" Width="79px" 
            onclick="Btn_Search_Click" />
    
    </div>
    <div>
        <asp:Repeater ID="Rep_Resource" runat="server">
        <ItemTemplate>
        <div class="title"><a href='<%# ((System.Data.DataRowView)Container.DataItem)["ARTICLEID"] %>'><%# ((System.Data.DataRowView)Container.DataItem)["TITLE"]%></a></div>
        <div class="content"><%# ((System.Data.DataRowView)Container.DataItem)["SUMMARY"]%><span style="color:#008000; margin-left:10px;"><%# ((System.Data.DataRowView)Container.DataItem)["ADD_TIME"]%></span></div>
        </ItemTemplate>
        </asp:Repeater>
    </div>

    <asp:Panel ID="Pan_Page" runat="server">
    <asp:Label ID="PageInfo" runat="server"></asp:Label><asp:Label ID="left" runat="server" ></asp:Label>
    </asp:Panel>
    </form>
</body>
</html>
